package com.lace.security.jwt.constant;

/**
 * Created by WangZX on 2018/7/14.
 */
public class SecurityConstant {

    public static final String DEFAULT_LOGIN_PROCESSING_URL_FORM = "/v1/login";

    public static final String PASSWORD_ENCODER_BCrypt = "BCrypt";

    public static final String PASSWORD_ENCODER_MD5 = "MD5";

    public static final Integer DEFAULT_TOKEN_EXP_TIME = 2 * 24 * 60 * 60;

    public static final Integer DEFAULT_REFRESH_TOKEN_EXP_TIME = 30 * 24 * 60 * 60;

    public static final String DEFAULT_TOKEN_SIGN_INGKEY = "lace-*!#^)$";

    public static final String DEFAULT_TOKEN_HEADER = "X-Authorization";
}
